const state = {
    userInfo: {
        name: 'zx',
        age: 19
    }

}
const mutations = {
    shandle(state) {
        state.userInfo.age += 1
    }

}
const actions = {

}
const getters = {

}
const modules = {

}
export default {
    state,
    mutations,
    actions,
    getters,
    modules,
    namespaced: true

}
/* 获取模块中的数据公式  this.$store.state.模块名.找数据 */